package com.yenchingcheng.entity;

/**
 * @Author Yenchingcheng
 * @Date 2023/7/31 14:49
 * @Description 圆形
 **/
public class Circle extends Shape{

    public Circle(){
        type = "Circle";
    }
    @Override
    public void draw() {
        System.out.println("draw circle");
    }

    @Override
    public String toString() {
        return "Circle{" +
                "id='" + id + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}
